package com.gupaoedu.factory.factorymethod;

import com.gupaoedu.factory.ICourse;

/**
 * com.gupaoedu.factory.factorymethod
 * linwenjie
 * 2019-05-29
 */
public class FactoryMethodTest {

    public static void main(String[] args) {
        ICourseFactory factory = new PythonCourseFactory();
        ICourse course = factory.create();
        course.record();
    }
}
